<template>
  <div>
    <Form ref="tabParamForm" :model="infoForm" label-position="left" :label-width="80">
      <FormItem label="补录员：">
        <Input type="text" v-model="infoForm.recordUser" clearable placeholder="请输入补录员"></Input>
      </FormItem>
    </Form>
    <div class="xlinkModal-footer">
      <Button type="primary" @click="saveInfo">确认提交</Button>
      <Button @click="cancel">取消</Button>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'duty-opera-modal',
    data () {
      let infoForm = {
        recordUser: ''// 补录员
      }
      let datas = {infoForm}
      return datas
    },
    computed: {},
    props: {
      addressList: {
        type: Array,
        default () {
          return []
        }
      },
      orderType: {
        type: String,
        default () {
          return ''
        }
      }
    },
    methods: {
      saveInfo () {
        if (!this.infoForm.recordUser) {
          this.$Notice.error({
            title: '警告',
            desc: '补录员必填'
          })
          return false
        }
        this.$emit('submitChangeInfo', this.infoForm)
      },
      cancel () {
        this.$emit('closeChangeInfo')
      }
    },
    created () {
    },
    mounted () {
    },
    watch: {},
    components: {}
  }
</script>

<style scoped>

</style>
